<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ChampSaisieStock
 *
 * @author Rolland
 */
class ChampSaisieStock {
    public static function afficherAjout(){
        echo '<form action="?do=ajouter" method="post">
                <table>
                        <tr>
                                <td>Type :</td>
                                <td><input type="text" name="type" value="1" /></td>
                        </tr>
                        <tr>
                                <td>Société :</td><td><input type="text" name="societe" value="1" /></td>
                        </tr>
                        <tr>
                                <td>Entrepot :</td><td><input type="text" name="entrepot" value="1" /></td>
                        </tr>
                        <tr>
                                <td colspan="2"><input type="submit" value="Valider" /></td>
                        </tr>
                </table>
            </form>';
    }
    
    public static function afficherModif($article){
        echo '<form method="post" action="?do=modif">
                <table>
                        <tr>
                                <td>Entrepot :</td><td><input type="text" name="entrepot" /></td>
                                <input type="hidden" name="id" value="'.$_GET['id'].'" />
                        </tr>
                        <tr>
                                <td colspan="2"><input type="submit" value="Valider" /></td>
                        </tr>
                </table>
              </form>';
    }
    
    public static function afficherJour($e){
        echo '<form method="post" action="?do=consulter&id=0&site=null">
                        <table>
                                <tr>
                                        <td>Date :</td>
                                        <td><input type="text" name="jour" value="2012-01-20" /></td>
                                </tr>
                                <tr>
                                        <td>Type :</td>
                                        <td><input type="text" name="type" value="2" /></td>
                                </tr>
                                <tr>
                                        <input type="hidden" value="'.$e.'" name="es" />
                                        <td colspan="2"><input type="submit" value="Valider" /></td>                                        
                                </tr>
                        </table>
                </form>	 ';
    }
}

?>
